package com.test.repository;


import com.test.entity.OcExpBaseConfigSf;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by zhang on 2017/6/24.
 */
public interface OcExpBaseConfigSfRepository extends JpaRepository<OcExpBaseConfigSf, String> {

    @Query(value="select o.areaName,o.custid,o.expressId,o.j_address,o.j_tel,o.j_contact,o.j_company from OcExpBaseConfigSf o")
    public List<OcExpBaseConfigSf> findAll();
}
